﻿using System;
using System.Collections.Generic;

namespace PandaWebAPI.Models.ef;

/// <summary>
/// 登录会话
/// </summary>
public partial class LoginSession
{
    public Guid SessionId { get; set; }

    public Guid UserId { get; set; }

    public string SessionToken { get; set; } = null!;

    public string? DeviceInfo { get; set; }

    public string? Ipaddress { get; set; }

    public DateTime? CreatedAt { get; set; }

    public DateTime ExpiresAt { get; set; }

    public bool? IsActive { get; set; }

    public virtual User User { get; set; } = null!;
}
